package com.service;

import com.controller.PaginationSupport;
import com.entity.Salary;
import com.form.Message;
import com.form.SalaryInfoForAdmin;

public interface SalaryService {
    PaginationSupport<SalaryInfoForAdmin> checkSalarys(int pageNo, int pageSize);

    Message checkCurrentMonthPay(String username);

    SalaryInfoForAdmin addSalary(String username, String performance);

    PaginationSupport<SalaryInfoForAdmin> findSalaryByKeys(String keys, int pageNo, int pageSize);

    PaginationSupport<Salary> findSalaryByYearAndMonth(long employeeId, int year, int month, int pageNo, int pageSize);

    PaginationSupport<Salary> findSalaryByYear(long employeeId, int year, int pageNo, int pageSize);

    PaginationSupport<Salary> findSalaryByMonth(long employeeId, int month, int pageNo, int pageSize);
}
